home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw.zip / ATTACH < prev    next >
Text File  |  1991-09-18  |  26KB  |  623 lines

  1. ======                                              NOSview [137]
  2. attach
  3. ======
  4.  
  5.  
  6. This section details the 'attach' commands for the various
  7. hardware and software interface drivers.  Not all of these
  8. drivers may be configured into every NOS release.  A list of the
  9. available types on a particular release may be obtained with the
  10. 'attach ?' command.
  11.  
  12. Some parameters are accepted by several drivers. They are:
  13.  
  14. ---------
  15. <bufsize>
  16. ---------
  17. For asynchronous devices (e.g. COM ports operating in SLIP or NRS
  18. mode) this parameter specifies the size of the receiver's ring
  19. buffer.  It should be large enough to hold incoming data at full
  20. line speed for the longest time that the system may be busy in
  21. MS-DOS or the BIOS doing a slow I/O operation (e.g. to a floppy
  22. disk).  A kilobyte is usually more than sufficient.
  23.  
  24. For synchronous devices (e.g. the scc, hs, pc100, hapn and drsi
  25. interfaces operating in HDLC mode), the <bufsize> parameter
  26. specifies the largest frame that may be received on the
  27. interface.  This should be set by mutual agreement among stations
  28. sharing the channel, and it is important that it is set
  29. correctly.
  30.  
  31. To do this, you must know the size of the largest possible frame
  32. that can be received.  The AX.25 'paclen' parameter controls only
  33. the size of the data field in an I-frame and not the total size
  34. of the frame as it appears on the air.  The AX.25 specification
  35. allows up to 8 digipeaters, so the largest possible frame is
  36. 'paclen'+72 bytes.  You should make <bufsize> at least this
  37. large.
  38.  
  39. So for standard AX.25 with a maximum I-frame data size of 256
  40. bytes, <bufsize> should be at least 328 (i.e. 256+72).  A
  41. suggested value of 1024 bytes will therefore provide an adequate
  42. safety margin.
  43.  
  44. On higher speed channels (e.g. 56kb/s) larger values (e.g. 2K
  45. bytes) will provide much better performance and allow full-sized
  46. Ethernet packets to be carried without fragmentation.
  47.  
  48. Another important consideration is that the more recent versions
  49. of NOS improve interrupt response by maintaining a special pool
  50. of buffers for use by the receive routines.  These buffers are
  51. currently fixed in size to 2048 bytes and this can be changed
  52. only by editing "config.h" and recompiling NOS.
  53.  
  54. This limits <bufsize>; in fact, attempting to set a larger value
  55. may cause the driver not to work at all.  This situation can be
  56. detected by running the memory status command and looking for a
  57. non-zero count of "Ibuffail" events, although these events can
  58. also occur occasionally during normal operation.
  59.  
  60.  
  61. -----------
  62. <interface>
  63. -----------
  64. The name (an arbitrary character string) to be assigned to this
  65. interface. It is used to refer to the interface by many other
  66. commands, including:
  67.  
  68.         axc25 bc          dialer           rarp
  69.         bbs Gateway       ifconfig         route
  70.         comm              mode             tip
  71.         connect           netrom           trace
  72.         detach            param
  73.  
  74.  
  75. -----------
  76. <ioaddress>
  77. -----------
  78. The base address of the interface's control registers, in
  79. hexadecimal.
  80.  
  81.  
  82. -----
  83. <mtu>
  84. -----
  85. The Maximum Transmission Unit (MTU) size, in bytes.  Datagrams
  86. larger than this limit will be fragmented at the IP layer into
  87. smaller pieces.
  88.  
  89. IP-level fragmentation often makes it possible to interconnect
  90. two dissimilar networks, but it is best avoided whenever
  91. possible.  One reason is that when a single IP fragment is lost,
  92. all other fragments belonging to the same datagram are
  93. effectively also lost and the entire datagram must be
  94. retransmitted by the source.
  95.  
  96. Even without loss, fragments require the allocation of temporary
  97. buffer memory at the destination, and it is never easy to decide
  98. how long to wait for missing fragments before giving up and
  99. discarding those that have already arrived.  A reassembly timer
  100. controls this process.  (See the 'ip rtimer' command).
  101.  
  102. Most subnetworks that carry IP have MTUs of 576 bytes or more, so
  103. interconnecting them with subnetworks having smaller values can
  104. result in considerable fragmentation.  For this reason, IP
  105. implementors working with links or subnets having unusually small
  106. packet size limits are encouraged to use transparent
  107. fragmentation, that is, to devise schemes to break up large IP
  108. datagrams into a sequence of link or subnet frames that are
  109. immediately reassembled on the other end of the link or subnet
  110. into the original, whole IP datagram without the use of IP-level
  111. fragmentation.
  112.  
  113. Such a scheme is provided in AX.25 Version 2.1.  It can break a
  114. large IP or NET/ROM datagram into a series of 'paclen' sized
  115. AX.25 segments (not to be confused with TCP segments), one per
  116. AX.25 I-frame, for transmission and reassemble them into a single
  117. datagram at the other end of the link before handing it up to the
  118. IP or NET/ROM module.
  119.  
  120. The segmentation procedure is a new feature in AX.25 and is
  121. unfortunately not yet widely implemented; in fact, NOS is so far
  122. the only known implementation.  This creates some inter-
  123. operability problems between NOS and non-NOS nodes; in
  124. particular, standard NET/ROM nodes being used to carry IP
  125. datagrams.
  126.  
  127. For AX.25 UI-frames, MTU limits the size of the information
  128. field.
  129.  
  130. For AX.25 I-frames, however, the AX.25 'paclen' parameter is also
  131. relevant.  If the datagram or fragment is still larger than
  132. 'paclen', it is also fragmented at the AX.25 level (as opposed to
  133. the IP level) before transmission.  See the 'ax25 paclen' command
  134. for further information.
  135.  
  136. Each fragment of a datagram has its own IP header, and is handled
  137. by the network as if it were a distinct IP datagram.  When it
  138. arrives at the destination it is held by the IP layer until all
  139. the other fragments belonging to the original datagram have
  140. arrived.  Then they are reassembled back into the complete,
  141. original IP datagram.
  142.  
  143. The minimum acceptable interface MTU is 28 bytes: 20 bytes for
  144. the IP header, plus 8 bytes of data.
  145.  
  146. There is no default MTU in NOS; it must be explicitly specified
  147. for each interface as part of the 'attach' command.
  148.  
  149. TCP/IP header overhead considerations similar to those of the
  150. AX.25 layer when setting 'paclen' apply when choosing an MTU.
  151. However, certain subnetwork types supported by NOS have well-
  152. established MTUs, and these should always be used unless you know
  153. what you're doing.  The recommended MTUs for these network types
  154. are:
  155.  
  156. Ethernet: 1500 bytes
  157. ARCNET:   508 bytes
  158. PPP:      The MTU for PPP is automatically negotiated, and
  159.           defaults to 1500 bytes.
  160.  
  161. Other subnet types, including SLIP and AX.25, are not as well
  162. standardized.
  163.  
  164. SLIP:   Has no official MTU, but the most common implementation
  165. (for BSD UNIX) uses an MTU of 1006 bytes.  Although NOS has no
  166. hard-wired limit on the size of a received SLIP frame, this is
  167. not true for other systems.  Interoperability problems may
  168. therefore result if larger MTUs are used in NOS.
  169.  
  170. AX.25:  Choosing an MTU for an AX.25 interface is more complex.
  171. When the interface operates in datagram (UI-frame) mode, the
  172. 'paclen' parameter does not apply.  The MTU effectively becomes
  173. the 'paclen' of the link.  However, as mentioned earlier, large
  174. packets sent on AX.25 connections are automatically segmented
  175. into I-frames no larger than 'paclen' bytes.  Unfortunately, as
  176. also mentioned earlier, NOS is so far the only known
  177. implementation of the new AX.25 segmentation procedure.  This is
  178. fine as long as all of the NET/ROM nodes along a path are running
  179. NOS, but since the main reason NOS supports NET/ROM is to allow
  180. use of existing NET/ROM networks, this is unlikely.
  181.  
  182. So it is usually important to avoid AX.25 segmentation when
  183. running IP over NET/ROM.  The way to do this is to make sure that
  184. packets larger than 'paclen' are never handed to AX.25.  A
  185. NET/ROM transport header is 5 bytes long and a NET/ROM network
  186. header takes 15 bytes, so 20 bytes must be added to the size of
  187. an IP datagram when figuring the size of the AX.25 I-frame data
  188. field.
  189.  
  190. If 'paclen' is 256, this leaves 236 bytes for the IP datagram.
  191. This is the default MTU of the "netrom" pseudo-interface, so as
  192. long as 'paclen' is at least 256 bytes, AX.25 segmentation can't
  193. happen.
  194.  
  195. But if smaller values of 'paclen' are used, the netrom MTU must
  196. also be reduced with the 'ifconfig' command.
  197.  
  198. On the other hand, if you're running IP directly on top of AX.25,
  199. chances are all of the nodes are running NOS and support AX.25
  200. segmentation.  In this case there is no reason not to use a
  201. larger MTU and let AX.25 segmentation do its thing.  If you
  202. choose an MTU on the order of 1000-1500 bytes, you can largely
  203. avoid IP-level fragmentation and reduce TCP/IP-level header
  204. overhead on file transfers to a very low level.  And you are
  205. still free to pick whatever 'paclen' value is appropriate for the
  206. link.
  207.  
  208.  
  209. -------
  210. <speed>
  211. -------
  212. The speed on the NOS serial link (e.g. between the computer
  213. running NOS and the TNC) in bits per second (e.g. 4800).
  214.  
  215.  
  216. --------
  217. <vector>
  218. --------
  219. The interface's hardware interrupt (IRQ) vector, in hexadecimal.
  220.  
  221.  
  222. The individual 'attach' commands are now described:
  223. _________________________________________________________________
  224. attach 3c500 <ioaddress> <vector> arpa <interface> <qlen> <mtu>
  225.                                                      [<ipaddr>]
  226. _________________________________________________________________
  227. Attach a 3Com 3C501 Ethernet interface.  <qlen> is the maximum
  228. allowable transmit queue length. If the <ipaddr> parameter is not
  229. given, the value associated with a prior ip address command will
  230. be used.
  231.  
  232. The use of this driver is not recommended; use the 'packet'
  233. driver interface with the loadable 3C501 packet driver instead.
  234.  
  235. >> Example:  attach 3c500 0x300 3 arpa en0 5 1500
  236.  
  237.  
  238. _________________________________________________________________
  239. attach asy <ioaddress> <vector> ax25 | nrs | ppp | slip
  240.              <interface> <buffers> <mtu> <speed> [<slip_options>]
  241. _________________________________________________________________
  242. Attach a standard PC COM port (asynchronous serial port), using
  243. the National 8250 or 16550A chip.  Standard values on the IBM PC
  244. and clones for <ioaddress> and <vector> are as follows:
  245.  
  246.      COM1:  0x3f8 and 4
  247.      COM2:  0x2f8 and 3
  248.  
  249. If the port uses a 16550A chip, it will be detected automatically
  250. and the FIFOs enabled.
  251.  
  252.  
  253. _________________________________________________________________
  254. attach asy <ioaddress> <vector> ax25 <interface> <buffers> <mtu>
  255.                                                          <speed>
  256. _________________________________________________________________
  257. Encapsulate IP datagrams within an AX.25 frame and precede with a
  258. KISS data header before SLIP encoding.
  259.  
  260. Either UI- (connectionless) or I- (connection-oriented) AX.25
  261. frames can be used; see the 'mode' command for details.
  262. By default, IP datagrams are sent in UI-frames.
  263.  
  264. *******  You must give the 'ax25 mycall' command BEFORE attaching
  265. *******  the interface.
  266.  
  267. >> Example:  To attach the COM2 port to operate in AX.25 mode
  268. with an MTU of 576 bytes at 4800 bits/sec with a KISS TNC,
  269. calling it 'tnc0':
  270.  
  271.             ax25 mycall NS9BOB-5
  272.             attach asy 0x2f8 3 ax25 tnc0 1024 576 4800
  273.  
  274.  
  275. _________________________________________________________________
  276. attach asy <ioaddress> <vector> nrs <interface> <buffers> <mtu>
  277.                                                         <speed>
  278. _________________________________________________________________
  279. Use the NET/ROM asynchronous framing technique for communication
  280. with a local NET/ROM TNC.
  281.  
  282. >> Example:  attach asy 0x3f8 4 nrs nr0 1024 576 4800
  283.  
  284.  
  285. _________________________________________________________________
  286. attach asy <ioaddress> <vector> ppp <interface> <buffers> <mtu>
  287.                                                         <speed>
  288. _________________________________________________________________
  289. Point-to-Point-Protocol.  Encapsulates datagrams in an HDLC-like
  290. frame.  This is a new Internet standard for point-to-point
  291. communication, compatible with CCITT standards.
  292.  
  293. >> Example:
  294.  
  295.  
  296. _________________________________________________________________
  297. attach asy <ioaddress> <vector> slip <interface> <buffers> <mtu>
  298.                                         <speed> [<slip_options>]
  299. _________________________________________________________________
  300. Serial Line Internet Protocol.  Encapsulates IP datagrams
  301. directly in SLIP frames without a link header.  This is for
  302. operation on point-to-point lines and is compatible with 4.2BSD
  303. UNIX SLIP.
  304.  
  305. The <slip_options> are the characters 'c', 'r' and 'v':
  306.  
  307. 'c' enables RTS/CTS detection
  308. 'r' enables RLSD (Carrier Detect) physical line sensing
  309. 'v' enables Van Jacobson TCP/IP Header Compression
  310.  
  311. >> Example:  To attach the COM1 port to operate in point-to-point
  312. slip mode at 9600 baud, calling it 'sl0'.  A 1024-byte receiver
  313. ring buffer is allocated.  Outgoing packets larger than 256 bytes
  314. are fragmented.  RTS/CTS and carrier detection are used, together
  315. with header compression:
  316.  
  317.            attach asy 0x3f8 4 slip sl0 1024 256 9600 crv
  318.  
  319.  
  320. _________________________________________________________________
  321. attach axip <interface> <mtu> <their_host> <my_axip_callsign>
  322. _________________________________________________________________
  323. This creates an RFC1226-compatible AX.25 frame encapsulator for
  324. "wormhole" transmission of AX.25 frames over the Internet.  The
  325. wormhole appears to the AX.25 level as two digipeaters.
  326.  
  327. The parameter <their_host> is the Internet node name or IP
  328. address of the remote system at the other end of the wormhole.
  329.  
  330. The parameter <my_axip_callsign> is the AX.25 callsign this
  331. station is listening out for, for frames to digipeat.
  332.  
  333. Note that each attached axip interface should have a different
  334. callsign to listen to, and this should also be different from
  335. other callsigns used by this station.
  336.  
  337. For example, consider the scenario in the diagram below.  NS9BOB
  338. and NS9JIM are at opposite ends of an Internet wormhole, in this
  339. case represented by an Ethernet link.  Bob and Jim decide to use
  340. SSID -11 for their axip callsigns.
  341.  
  342. Stations AX9AAA and AX9BBB are ordinary AX.25 stations which wish
  343. to communicate via the wormhole.
  344.  
  345.  
  346.  
  347.       ___________________                     ___________________
  348.       |                 |                     |                 |
  349. axip: | NS9BOB-11 ....  |                     |  .... NS9JIM-11 |
  350.       |    :         :  |                     |  :         :    |
  351.   IP: | ns9bob       :  |                     |  :       ns9jim |
  352.       |    :         :  |  Internet Wormhole  |  :         :    |
  353. ax25: | NS9BOB-5    en0 ==========>============ en0    NS9JIM-5 |
  354.       |    :            |   AX9AAA>AX9BBB     |            :    |
  355.       |____:____________| v NS9BOB-5* NS9JIM-5|____________:____|
  356.            :tnc0                                       tnc0:
  357.            :                                               :
  358.       _____:____                                       ____:_____
  359.       |        |                                       |        |
  360.       | AX9AAA |                                       | AX9BBB |
  361.       |________|                                       |________|
  362. CONNECT AX9BBB V NS9BOB-11 NS9JIM-5             AX9AAA>AX9BBB
  363.                                            v NS9BOB-5* NS9JIM-11*
  364.  
  365.  
  366.  
  367.  
  368. To implement this setup, Bob requires the following NOS commands
  369. in his AUTOEXEC.NOS file:
  370.  
  371. -----------------------------------------------------------------
  372. ax25 mycall NS9BOB-5
  373. attach asy 0x3f8 4 ax25 tnc0 1024 576 4800
  374. ip address ns9bob
  375. route add ns9jim en0
  376. arp add ns9jim ether 00:11:22:33:44:55
  377. attach axip ai0 256 ns9jim NS9BOB-11
  378. -----------------------------------------------------------------
  379.  
  380. That is, in addition to the usual commands for setting up the
  381. tnc0 AX.25 interface, an IP 'route' command and an 'arp add'
  382. command are needed for the Ethernet wormhole, and the 'attach
  383. axip' command is required to implement AX.25 encapsulation.
  384.  
  385. Note that in Bob's 'attach axip' command, the hostname (ns9jim)
  386. is the name of the FAR end of the wormhole, and the axip callsign
  387. (NS9BOB-11) is that of the LOCAL station.
  388.  
  389. Jim's NOS entries will, of course, be a mirror image of Bob's.
  390.  
  391. Everything is now ready for AX9AAA to connect to AX9BBB.  The
  392. format of the connect command is:
  393.  
  394. -----------------------------------------------------------------
  395. CONNECT <destination> VIA <local_axip_call> <remote_ax25_mycall>
  396. -----------------------------------------------------------------
  397.  
  398. Thus in this scenario, AX9AAA gives the command:
  399.  
  400.     CONNECT AX9BBB VIA NS9BOB-11 NS9JIM-5
  401.  
  402. NS9BOB is listening for digipeater callsign NS9BOB-11.  On
  403. hearing this connect request, the axip code then converts NS9BOB-
  404. 11 to NS9BOB-5.  This is in readiness for the return trip.  In
  405. addition, the "Has-been-digipeated" bit (indicated by an asterisk
  406. in the diagram) is set.
  407.  
  408. The frame is then encapsulated in an IP packet and transmitted
  409. across the wormhole to Jim.
  410.  
  411. On arrival at NS9JIM, the axip code now de-capsulates the AX.25
  412. frame, and converts the second digipeater address (NS9JIM-5) to
  413. NS9JIM-11, also setting the "Has-been-digipeated" bit.
  414.  
  415. Finally the AX.25 frame emerges from NS9JIM, and arrives at
  416. AX9BBB with digipeater addresses NS9BOB-5 and NS9JIM-11.  After
  417. reversing the callsign order in the usual way, this is exactly
  418. what is required for the return trip to AX9AAA via the wormhole.
  419.  
  420.  
  421. _________________________________________________________________
  422. attach drsi <ioaddress> <vector> ax25 <interface> <bufsize> <mtu>
  423.                                      <ch_a_speed> <ch_b_speed>
  424. _________________________________________________________________
  425. N6TTO driver for the Digital Radio Systems PCPA 8530 card.  Since
  426. there are two channels on the board, two interfaces are attached.
  427. They will be named <interface> with 'a' and 'b' appended.
  428.  
  429. <bufsize> is the receiver buffer size in bytes; it must be larger
  430. than the largest frame to be received.
  431.  
  432. <ch_a_speed> and <ch_b_speed> are the speeds, in bits/sec, for
  433. the A and B channels respectively.
  434.  
  435.  
  436. _________________________________________________________________
  437. attach eagle <ioaddress> <vector> ax25 <interface> <bufsize>
  438.                                                <mtu> <speed>
  439. _________________________________________________________________
  440. WA3CVG/NG6Q driver for the Eagle Computer card (Zilog 8530).
  441.  
  442.  
  443. _________________________________________________________________
  444. attach hapn <ioaddress> <vector> ax25 <interface> <bufsize> <mtu>
  445.                                                    csma | full
  446. _________________________________________________________________
  447. KE3Z driver for the Hamilton Amateur Packet Network adapter
  448. (Intel 8273).  The 'csma|full' parameter specifies whether the
  449. port should operate in carrier sense multiple access (CSMA) mode
  450. or in full duplex.
  451.  
  452.  
  453. _________________________________________________________________
  454. attach hs <ioaddress> <vector> ax25 <interface> <bufsize> <mtu>
  455.                                       <key_up_delay> <p>
  456. _________________________________________________________________
  457. Attach a DRSI PCPA or Eagle Computer interface card using a
  458. special "high speed" 8530 driver.  This driver uses busy-wait
  459. loops to send and receive each byte instead of interrupts, making
  460. it usable with high speed modems (such as the WA4DSY 56kb/s
  461. modem) on slow systems.  This does have the side effect of
  462. "freezing" the system whenever the modem transmitter or receiver
  463. is active.
  464.  
  465. This driver can operate only in CSMA mode, and it is recommended
  466. that no other interfaces requiring small interrupt latencies be
  467. attached to the same machine.
  468.  
  469. The <key_up_delay> parameter specifies the transmitter keyup
  470. delay in byte time intervals.
  471.  
  472. The <p> value specifies the transmitter persistence value in the
  473. range 1-255; the corresponding slot time is fixed at one hardware
  474. clock tick, about 55 ms on the PC.
  475.  
  476. As with the other 8530 drivers, this driver actually attaches two
  477. interfaces, one for each 8530 channel.
  478.  
  479.  
  480. _________________________________________________________________
  481. attach kiss <existing_asy_interface> <port> <interface> [<mtu>]
  482. _________________________________________________________________
  483. The 'attach kiss' command enables a multiplexed TNC type to be
  484. used for second channel.  It is used to connect a second port to
  485. an already attached 'asy' interface.  It will copy most of the
  486. parameters of its parent port.
  487.  
  488. >> Example:  attach kiss tnc0 2 tnc1
  489.  
  490.  
  491. _________________________________________________________________
  492. attach netrom
  493. _________________________________________________________________
  494. Pseudo-driver for use with NET/ROM.
  495.  
  496.  
  497. _________________________________________________________________
  498. attach packet <vector> <interface> <txqlen> <mtu>
  499. _________________________________________________________________
  500. Driver for use with separate software packet drivers meeting the
  501. Packet Driver specification from FTP Software Inc.  The driver
  502. must have already been installed before the 'attach' command is
  503. given.  Packet drivers in the Ethernet, ARCNET, SLIP, SLFP, and
  504. KISS/AX.25 classes are supported.
  505.  
  506. <vector> is the software interrupt vector used for communication
  507. to the packet driver, and <txqlen> is the maximum number of
  508. packets that will be allowed on the transmit queue.
  509.  
  510. >> Example:  In AUTOEXEC.BAT, the driver for a Western Digital
  511. WD8003E Ethernet adapter can be installed with the command:
  512.  
  513.      WD8003E 0x60 2 0x240 0xd000
  514.  
  515. This means that the adapter uses software interrupt vector 0x60,
  516. IRQ 2, I/O address 0x240 and RAM base address 0xd000.
  517.  
  518. Then the NOS packet driver can be attached to the adapter driver
  519. with the command:
  520.  
  521.      attach packet 0x60 en0 8 1500
  522.  
  523.  
  524. _________________________________________________________________
  525. attach pc100 <ioaddress> <vector> ax25 <interface> <bufsize>
  526.                                                           <speed>
  527. _________________________________________________________________
  528. Driver for the PACCOMM PC-100 (Zilog 8530) card.  Only AX.25
  529. operation is supported.
  530.  
  531.  
  532. _________________________________________________________________
  533. attach pi
  534. _________________________________________________________________
  535. DMA-driven 8530 scc board from VE3IFB.
  536.  
  537.  
  538. _________________________________________________________________
  539. attach scc <devices> init <addr> <spacing> <Aoff> <Boff><Dataoff>
  540.           <intack> <vec> [p|r]<clock> [<hardware_type>] [<param>]
  541. _________________________________________________________________
  542. PE1CHL driver to initialize a generic SCC (8530) interface board
  543. prior to actually attaching it.
  544.  
  545. The parameters are as follows:
  546.  
  547. <devices> The number of SCC chips to support.
  548.  
  549. <addr> The base address of the first SCC chip (hex).
  550.  
  551. <spacing> The spacing between the SCC chip base addresses.
  552.  
  553. <Aoff> The offset from a chip's base address to its channel A
  554. control register.
  555.  
  556. <Boff> The offset from a chip's base address to its channel B
  557. control register.
  558.  
  559. <Dataoff> The offset from each channel's control register to its
  560. data register.
  561.  
  562. <intack> The address of the INTACK/Read Vector port.  If none,
  563. specify '0' to read from RR3A/RR2B.
  564.  
  565. <vec> The CPU interrupt vector for all connected SCCs.
  566.  
  567. <clock> The clock frequency (PCLK/RTxC) of all SCCs in hertz.
  568. Prefix with 'p' for PCLK, 'r' for RTxC clock (for baudrate
  569. generation).
  570.  
  571. <hardware_type>  Optional hardware type code.  The following
  572. values are currently supported:
  573.           1:  Eagle card
  574.           2:  PACCOMM PC-100
  575.           4:  PRIMUS-PC card (DG9BL)
  576.           8:  DRSI PCPA card.
  577.  
  578. <param> Optional extra parameter.  At present, this is used only
  579. with the PC-100 and PRIMUS-PC cards to set the modem mode.  The
  580. value 0x22 is used with the PC-100 and 0x2 is used with the
  581. PRIMUS-PC card.
  582.  
  583. The 'attach scc ... init' command must be given before the
  584. interfaces are actually attached with the following command.
  585.  
  586. _________________________________________________________________
  587. attach scc <chan> slip|kiss|nrs|ax25 <interface> <mtu> <speed>
  588.                                            <bufsize> [<callsign>]
  589. _________________________________________________________________
  590. Attach an initialized SCC port to the system.  The parameters are
  591. as follows:
  592.  
  593. <chan> The SCC channel number to attach, 0 or 1 for the first
  594. chip's A or B port, 2 or 3 for the second chip's A or B port,
  595. etc.
  596.  
  597. slip | kiss | nrs | ax25
  598. The operating mode of the interface.  'slip', 'kiss' and 'nrs'
  599. all operate the port hardware in asynchronous mode:
  600.   'slip' is Internet-standard serial line IP mode.
  601.   'kiss' generates SLIP frames containing KISS TNC commands and
  602. AX.25 packets.
  603.   'nrs' uses NET/ROM local serial link framing conventions to
  604. carry NET/ROM packets.
  605.   'ax25' puts the interface into synchronous HDLC mode that is
  606. suitable for direct connection to a half duplex radio modem.
  607.  
  608. <speed> The interface speed in bits per second (e.g. 1200).
  609. Prefix with 'd' when an external divider is available to generate
  610. the TX clock.  When the clock source is PCLK, this can be a /32
  611. divider between TRxC and RTxC.  When the clock is at RTxC, the TX
  612. rate must be supplied at TRxC.  This is needed only for full
  613. duplex synchronous operation.  When this arg is given as 'ext',
  614. the transmit and receive clocks are external, and the internal
  615. baud rate generator (BRG) and digital phase locked loop (DPLL)
  616. are not used.
  617.  
  618.  
  619. _________________________________________________________________
  620. attach slfp
  621. _________________________________________________________________
  622. Attach the Serial Line Framing Protocol packet driver.
  623.